package org.jeecg.modules.demo.basememberprojectserve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.basememberprojectserve.entity.BaseMemberProjectServe;
import org.jeecg.modules.demo.basememberprojectserve.entity.ProjectServeInfo;

import java.util.List;

/**
 * @Description: 会员已购买的项目-服务
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
public interface BaseMemberProjectServeMapper extends BaseMapper<BaseMemberProjectServe> {
    /**
     * 根据项目id查询服务列表
     *
     * @param pageNo
     * @param pageSize
     * @param memberProjectId
     */
    List<ProjectServeInfo> getListByMemberProjectId(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize,
                                                    @Param("memberProjectId") String memberProjectId);
}
